<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>GIS学习与资源平台</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
    <style>
        :root {
            --primary: #2196F3;
            --primary-dark: #1976D2;
            --accent: #FF4081;
            --text: #333;
            --text-light: #666;
            --background: #1a1a2e;
            --card-bg: rgba(255, 255, 255, 0.1);
            --gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Roboto', 'Microsoft YaHei', sans-serif;
            line-height: 1.6;
            color: #fff;
            background: var(--background);
            overflow-x: hidden;
        }

        /* 星空背景 */
        .stars {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
        }

        .star {
            position: absolute;
            background: #fff;
            border-radius: 50%;
            animation: twinkle var(--duration) linear infinite;
            opacity: var(--opacity);
        }

        @keyframes twinkle {
            0%, 100% { opacity: var(--opacity); }
            50% { opacity: 0.2; }
        }

        /* 流星效果 */
        .shooting-star {
            position: absolute;
            width: 100px;
            height: 2px;
            background: linear-gradient(90deg, #fff, transparent);
            animation: shoot 3s linear infinite;
            transform: rotate(-45deg);
            opacity: 0;
        }

        @keyframes shoot {
            0% {
                transform: translateX(-100%) translateY(100px) rotate(-45deg);
                opacity: 1;
            }
            100% {
                transform: translateX(200%) translateY(-200px) rotate(-45deg);
                opacity: 0;
            }
        }

        .header {
            background: var(--gradient);
            color: white;
            text-align: center;
            padding: 6rem 0;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
            opacity: 0.15;
            z-index: -1;
            animation: zoomBg 20s infinite alternate;
        }

        @keyframes zoomBg {
            from { transform: scale(1); }
            to { transform: scale(1.1); }
        }

        .header h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, #fff, #64B5F6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 30px rgba(100,181,246,0.5);
        }

        .header p {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
        }

        .nav {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .nav.scrolled {
            background: rgba(26, 26, 46, 0.95);
            box-shadow: 0 2px 20px rgba(0,0,0,0.3);
        }

        .nav ul {
            max-width: 1200px;
            margin: 0 auto;
            list-style: none;
            display: flex;
            justify-content: center;
            gap: 2rem;
        }

        .nav a {
            text-decoration: none;
            color: #fff;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .nav a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav a:hover::before {
            width: 100%;
        }

        .nav a:hover {
            color: var(--primary);
            background: rgba(33, 150, 243, 0.1);
        }

        .main {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem;
            position: relative;
            z-index: 1;
        }

        .section-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin: 2rem 0;
        }

        .card {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 2rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 50% 0%, rgba(33,150,243,0.1), transparent 70%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            border-color: rgba(33,150,243,0.3);
        }

        .card:hover::before {
            opacity: 1;
        }

        .card-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
            background: linear-gradient(45deg, var(--primary), #64B5F6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            filter: drop-shadow(0 0 10px rgba(33,150,243,0.3));
        }

        .card h3 {
            color: #fff;
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .card p {
            color: rgba(255,255,255,0.7);
            margin-bottom: 1.5rem;
        }

        .feature-list {
            list-style: none;
            margin-top: 1rem;
        }

        .feature-list li {
            margin: 0.8rem 0;
            padding-left: 1.5rem;
            position: relative;
            color: rgba(255,255,255,0.8);
        }

        .feature-list li::before {
            content: "•";
            color: var(--primary);
            position: absolute;
            left: 0;
            font-size: 1.2em;
        }

        .btn {
            display: inline-block;
            padding: 0.8rem 1.5rem;
            background: linear-gradient(45deg, var(--primary), #64B5F6);
            color: white;
            text-decoration: none;
            border-radius: 25px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(33,150,243,0.3);
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(33,150,243,0.4);
        }

        .footer {
            background: linear-gradient(to top, #1a1a2e, transparent);
            color: white;
            text-align: center;
            padding: 3rem 0;
            margin-top: 3rem;
            position: relative;
            overflow: hidden;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(33,150,243,0.3), transparent);
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2.5rem;
            }

            .nav ul {
                flex-direction: column;
                align-items: center;
                padding: 1rem;
            }

            .section-grid {
                grid-template-columns: 1fr;
            }
        }

        /* 材质设计阴影 */
        .material-shadow {
            box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
            transition: all 0.3s cubic-bezier(.25,.8,.25,1);
        }

        .material-shadow:hover {
            box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
        }
    </style>
</head>
<body>
    <!-- 星空背景 -->
    <div class="stars" id="stars"></div>
    <div class="shooting-star" style="animation-delay: 0s;"></div>
    <div class="shooting-star" style="animation-delay: 2s;"></div>
    <div class="shooting-star" style="animation-delay: 4s;"></div>

    <header class="header">
        <h1>GIS学习与资源平台</h1>
        <p>探索地理信息的无限可能，让数据可视化与空间分析激发你的创造力</p>
    </header>

    <nav class="nav">
        <ul>
            <li><a href="#tutorials"><i class="fas fa-book-reader"></i> 学习教程</a></li>
            <li><a href="#resources"><i class="fas fa-download"></i> 资源下载</a></li>
            <li><a href="#notes"><i class="fas fa-sticky-note"></i> 笔记记录</a></li>
            <li><a href="#community"><i class="fas fa-users"></i> 社区交流</a></li>
        </ul>
    </nav>

    <main class="main">
        <section id="tutorials" class="section-grid">
            <div class="card material-shadow">
                <i class="fas fa-map card-icon"></i>
                <h3>二维GIS教程</h3>
                <p>从基础到进阶的二维GIS技术学习之旅</p>
                <ul class="feature-list">
                    <li>地图制图基础</li>
                    <li>空间分析技术</li>
                    <li>矢量数据处理</li>
                </ul>
                <a href="#" class="btn">开始探索</a>
            </div>

            <div class="card material-shadow">
                <i class="fas fa-cube card-icon"></i>
                <h3>三维GIS教程</h3>
                <p>探索三维空间的无限可能</p>
                <ul class="feature-list">
                    <li>3D建模技术</li>
                    <li>地形分析</li>
                    <li>三维场景构建</li>
                </ul>
                <a href="#" class="btn">立即起航</a>
            </div>

            <div class="card material-shadow">
                <i class="fas fa-rocket card-icon"></i>
                <h3>资源中心</h3>
                <p>海量优质资源，助力学习腾飞</p>
                <ul class="feature-list">
                    <li>开源GIS软件</li>
                    <li>示例数据集</li>
                    <li>项目源码库</li>
                </ul>
                <a href="#" class="btn">探索资源</a>
            </div>

            <div class="card material-shadow">
                <i class="fas fa-satellite card-icon"></i>
                <h3>知识星球</h3>
                <p>记录学习轨迹，分享技术心得</p>
                <ul class="feature-list">
                    <li>智能笔记系统</li>
                    <li>知识图谱构建</li>
                    <li>学习进度追踪</li>
                </ul>
                <a href="#" class="btn">开启旅程</a>
            </div>
        </section>
    </main>

    <footer class="footer">
        <p> 2025 GIS学习与资源平台 - 探索地理信息的无限星空</p>
    </footer>

    <script>
        // 创建星空背景
        function createStars() {
            const stars = document.getElementById('stars');
            const count = 200;
            
            for(let i = 0; i < count; i++) {
                const star = document.createElement('div');
                star.className = 'star';
                
                // 随机位置
                const x = Math.random() * 100;
                const y = Math.random() * 100;
                
                // 随机大小
                const size = Math.random() * 2;
                
                // 随机动画持续时间和透明度
                const duration = 3 + Math.random() * 3;
                const opacity = 0.2 + Math.random() * 0.8;
                
                star.style.cssText = `
                    left: ${x}%;
                    top: ${y}%;
                    width: ${size}px;
                    height: ${size}px;
                    --duration: ${duration}s;
                    --opacity: ${opacity};
                `;
                
                stars.appendChild(star);
            }
        }

        // 页面滚动效果
        function handleScroll() {
            const nav = document.querySelector('.nav');
            if (window.scrollY > 50) {
                nav.classList.add('scrolled');
            } else {
                nav.classList.remove('scrolled');
            }
        }

        // 初始化
        document.addEventListener('DOMContentLoaded', () => {
            createStars();
            window.addEventListener('scroll', handleScroll);
        });
    </script>
</body>
</html>
